-
Notifications
You must be signed in to change notification settings - Fork 0
Mohammad/mbe ecdsa #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
53f311b to
c4d4c6b
Compare
7f3f777 to
a658fc7
Compare
pranavjain97
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking to test; but please do in a follow-up.
| @@ -0,0 +1,72 @@ | |||
| import { DklsComms, DklsDkg, DklsTypes } from '@bitgo-beta/sdk-lib-mpc'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename all these files to ecdsaMPCv2...
| /** | ||
| * Initialize MPCv2 key generation | ||
| */ | ||
| async initMpcV2(params: { source: 'user' | 'backup' }): Promise<MpcV2InitializeResponseType> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| async initMpcV2(params: { source: 'user' | 'backup' }): Promise<MpcV2InitializeResponseType> { | |
| async initEcdsaMpcV2KeyGen(params: { source: 'user' | 'backup' }): Promise<MpcV2InitializeResponseType> { |
| /** | ||
| * Execute a round in the MPCv2 protocol | ||
| */ | ||
| async mpcV2Round(params: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| async mpcV2Round(params: { | |
| async roundEcdsaMPCv2KeyGen(params: { |
| /** | ||
| * Finalize MPCv2 key generation | ||
| */ | ||
| async mpcV2Finalize(params: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| async mpcV2Finalize(params: { | |
| async finalizeEcdsaMPCv2KeyGen(params: { |
| }; | ||
|
|
||
| return { ...result, wallet: result.wallet.toJSON() }; | ||
| } else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move eddsa and mpcv2 key generation orchestration to seperate helper files. Add them to ecdsa.ts / eddsa.ts
a658fc7 to
a7ef80f
Compare
a7ef80f to
3c86a09
Compare
No description provided.